package com.tbit.uqbike.service.business;

import com.baomidou.mybatisplus.extension.service.IService;
import com.tbit.uqbike.object.pojo.AccountDiscount;
import com.tbit.common.entity.view.Result;

import java.util.List;

/**
 * @Author:BUGTian
 * @DATE: 2022/9/22
 */
public interface AccountDiscountService extends IService<AccountDiscount> {
    /**
     * 新增
     *
     * @param accountDiscount
     * @return
     */
    Result insert(AccountDiscount accountDiscount);

    /**
     * 修改
     *
     * @param accountDiscount
     * @return
     */
    Result updateAccountDiscount(AccountDiscount accountDiscount);

    /**
     * 根据区域id查询
     *
     * @param adAccountId
     * @return
     */
    List<AccountDiscount> queryByAdAccountId(Integer adAccountId);
}
